<script setup>
import { ref, onMounted } from "vue"
import { useIndexStore } from "@/store/index"

onMounted(() => {
	indexStore.setIndexState({
		navWidth: "26%",
		navOpacity: 1,
	})
})

const indexStore = useIndexStore()
</script>
<template>
	<div class="game">
		<RouterView />
	</div>
</template>
<style scoped lang="scss">
.game {
	flex: 1;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
</style>
